import request from "../../utils/request";

/**
 * 获取所有热搜数据
 * @returns {AxiosPromise}
*/
export function getHotToDayList(){
    return request({
        url: '/hot/getHotToDayList',
        method: 'get'
    })
}

/**
 * 获取热搜数据
 * @returns {AxiosPromise}
 */
export function getHotToDay(params){
    return request({
        url: '/hot/getHotToDay',
        method: 'get',
        params
    })
}